package com.lqk.uml.aggregation;

/**
 * @author lqk
 * @date 2021/11/28 12:26
 */
public class Computer {
    private Mouse mouse;    // 鼠标可以和 computer 分离
    private Monitor monitor;    // 显示器可以和 computer 分离

    public void setMouse(Mouse mouse) {
        this.mouse = mouse;
    }

    public void setMonitor(Monitor monitor) {
        this.monitor = monitor;
    }
}
